{% extends "base.html" %}


{% block content %}
<div id="problem_title">{{ p.title }}<div>
<div>Time Limit:{{ p.time_limit }}</div>
<div>Memory Limit:{{ p.memory_limit }}</div>
<div>Total Submissions:{{ p.submit }}</div>
<div>Accepted:{{ p.accepted }}</div>

<h3>description</h3>
{{ p.description }}<br>
<h3>input</h3>
{{ p.input }}<br>
<h3>output</h3>
{{ p.output }}<br>
<h3>sample input</h3>
{{ p.sample_input }}<br>
<h3>sample output</h3>
{{ p.sample_output }}<br>
<h3>source</h3>
{{ p.source }}<br>

<a href='/judge/submit?id={{p.problem_id}}'>submit</a>
<a href='/bbs/p/{{p.problem_id}}'>discuss</a>
<a href='/judge/status?id={{p.problem_id}}'>judge status</a>
<a href='/judge/rank/'>ranklist</a>

{% endblock %}